package com.intelligent.health.member.bo;

import com.intelligent.health.member.pojo.Permission;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Set;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: torlesse-liang
 * @Date: 2022/03/20/20:41
 * @Description: RoleBo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoleBo implements Serializable {

    /**
     * 角色关键字，用于权限控制
     */
    private String keyword;

    private Set<PermissionBo> permissionBos;
}
